package cn.jzq.kotoba.modules.spring.security;

import cn.jzq.kotoba.common.util.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jzq
 * @date 2019/4/15 16:46
 */
@RestController
@RequestMapping("/security/user")
public class SecurityUserController {

    @PostMapping("/login")
    public R login(String username, String password) {
        return new R();
    }
}
